package com.zwh.modules.hzlog.entity;

import java.util.Date;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zwh.common.utils.excel.annotation.ExcelField;

/**
 * 标讯信息导入导出
 * @author zwh
 * @date 2020/9/9 11:13
 **/
@ExcelIgnoreUnannotated
public class TenderImportDto {

    @ExcelProperty(index = 0)
    @ExcelField(attrName="projectName",title="项目名称",sort =10, groups={"all","base_info"})
    private String projectName;  //项目名称
    @ExcelProperty(index = 1)
    @ExcelField(attrName="projectType",title="项目类型",sort =15, groups={"all","base_info"}, dictType="tender_project_type")
    private String projectType;  //项目类型
    @ExcelProperty(index = 2)
    @ExcelField(attrName="tenderType",title="分类（标讯类型）",sort =20, groups={"all","base_info"}, dictType = "tender_tender_type")
    private String tenderType;  //分类（标讯类型）

    private String province;  //省
    @ExcelProperty(index = 3)
    @ExcelField(attrName="city",title="区域（市）",sort =25, groups={"all","base_info"})
    private String city;  //区域（市）
    @ExcelProperty(index = 4)
    @ExcelField(attrName="district",title="区域（县、区）",sort =30, groups={"all","base_info"})
    private String district;  //区域（县、区）
    @ExcelProperty(index = 5)
    @ExcelField(attrName="tenderWay",title="招标方式",sort =35, groups={"all","base_info"}, dictType ="tender_tender_way")
    private String tenderWay;  //招标方式
    @ExcelProperty(index = 6)
    @ExcelField(attrName="tenderMoneyType",title="金额类型",sort =40, groups={"all","base_info"}, dictType = "tender_tender_money_type")
    private String tenderMoneyType;  //金额类型
    @ExcelProperty(index = 7)
    @ExcelField(attrName="tenderMoney",title="招标金额（万元）",sort =45, groups={"all","base_info"})
    private Double tenderMoney;  //招标金额（万元）

    @ExcelProperty(index = 8)
    @ExcelField(attrName="planTenderMoney",title="投标金额（万元）",sort =50, groups={"all","company_info"})
    private Double planTenderMoney;  //投标金额（万元）
    @ExcelProperty(index = 9)
    @ExcelField(attrName="discountRate",title="折扣率",sort =55, groups={"all","company_info"},dataFormat = "0.00%")
    private Double discountRate;  // 折扣率
    @ExcelProperty(index = 10)
    @ExcelField(attrName="winMoney",title="中标金额（万元）",sort =60, groups={"all","company_info"})
    private Double winMoney;  //中标金额（万元）

    @ExcelProperty(index = 11)
    @ExcelField(attrName="tenderAgency",title="招标代理",sort =65, groups={"all","base_info"})
    private String tenderAgency;  //招标代理
    @ExcelProperty(index = 12)
    @ExcelField(attrName="tenderCondition",title="资格条件",sort =68, groups={"all","base_info"})
    private String tenderCondition;  //资格条件

    @ExcelProperty(index = 13)
    @ExcelField(attrName="tenderer",title="参与投标单位",sort =70, groups={"all","company_info"})
    private String tenderer; //参与投标单位
    @ExcelProperty(index = 14)
    @ExcelField(attrName="unionStatus",title="是否联合体",sort =71, groups={"all","company_info"})
    private String unionStatus; //是否联合体

    @ExcelProperty(index = 15)
    // 联合体投标单位子列表：是否联合体为是时，这些字段才会有数据
    @ExcelField(attrName="tenderCompany1",title="联合体投标单位一",sort =72, groups={"all","company_info"})
    private String tenderCompany1;
    @ExcelProperty(index = 16)
    @ExcelField(attrName="tenderCompany2",title="联合体投标单位二",sort =73, groups={"all","company_info"})
    private String tenderCompany2;
    @ExcelProperty(index = 17)
    @ExcelField(attrName="tenderCompany3",title="联合体投标单位三",sort =74, groups={"all","company_info"})
    private String tenderCompany3;
    @ExcelProperty(index = 18)
    @ExcelField(attrName="tenderCompany4",title="联合体投标单位四",sort =75, groups={"all","company_info"})
    private String tenderCompany4;
    @ExcelProperty(index = 19)
    @ExcelField(attrName="tenderCompany5",title="联合体投标单位五",sort =76, groups={"all","company_info"})
    private String tenderCompany5;
    @ExcelProperty(index = 20)
    @ExcelField(attrName="tenderCompany6",title="联合体投标单位六",sort =77, groups={"all","company_info"})
    private String tenderCompany6;

    //联合体投标单位
    @ExcelProperty(index = 21)
    @ExcelField(attrName="winStatus",title="是否中标",sort =80, groups={"all","company_info"})
    private String winStatus;  //是否中标
    //我司是否参与
    @ExcelProperty(index = 22)
    @ExcelField(attrName="selfCompanyJoin",title="我司是否参与",sort =81, groups={"all","company_info"})
    private String selfCompanyJoin; //我司是否参与(1-是，0-否)

    @ExcelProperty(index = 23)
    @ExcelField(attrName="tenderInfoLink",title="中标信息网站",sort =85, groups={"all","base_info"})
    private String tenderInfoLink; //中标信息网站
    @ExcelProperty(index = 24)
    @ExcelField(attrName="customerCompany",title="业主单位",sort =90, groups={"all","base_info"})
    private String customerCompany; //业主单位
    @ExcelProperty(index = 25)
    @ExcelField(attrName="customerDepartment",title="科（股）室",sort =95, groups={"all","base_info"})
    private String customerDepartment;  //科（股）室
    @ExcelProperty(index = 26)
    @ExcelField(attrName="customerContacts",title="业主联系人",sort =100, groups={"all","base_info"})
    private String customerContacts; //业主联系人
    @ExcelProperty(index = 27)
    @ExcelField(attrName="customerContactsAssociate",title="联系方式",sort =105, groups={"all","base_info"})
    private String customerContactsAssociate;//联系方式

    @JsonFormat(pattern="yyyy")
    @ExcelProperty(index = 28)
    @ExcelField(attrName="tenderYear",title="年份",sort =110, groups={"all","base_info"},dataFormat="yyyy")
    private Date tenderYear; //年份
    @ExcelProperty(index = 29)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm")
    @ExcelField(attrName="tenderOpenDate",title="开/中标时间",sort =115, groups={"all","base_info"},dataFormat="yyyy-MM-dd HH:mm")
    private Date tenderOpenDate; //开/中标时间

    @ExcelProperty(index = 30)
    @ExcelField(attrName="createBy",title="录入人员",sort =120, groups={"all","base_info"})
    private String createBy;  //录入人员

    private String companyStatus; //公司状态(1-本公司,0其他公司)

    public String getCompanyStatus() {
        return companyStatus;
    }

    public void setCompanyStatus(String companyStatus) {
        this.companyStatus = companyStatus;
    }

    public String getTenderCompany1() {
        return tenderCompany1;
    }

    public void setTenderCompany1(String tenderCompany1) {
        this.tenderCompany1 = tenderCompany1;
    }

    public String getTenderCompany2() {
        return tenderCompany2;
    }

    public void setTenderCompany2(String tenderCompany2) {
        this.tenderCompany2 = tenderCompany2;
    }

    public String getTenderCompany3() {
        return tenderCompany3;
    }

    public void setTenderCompany3(String tenderCompany3) {
        this.tenderCompany3 = tenderCompany3;
    }

    public String getTenderCompany4() {
        return tenderCompany4;
    }

    public void setTenderCompany4(String tenderCompany4) {
        this.tenderCompany4 = tenderCompany4;
    }

    public String getTenderCompany5() {
        return tenderCompany5;
    }

    public void setTenderCompany5(String tenderCompany5) {
        this.tenderCompany5 = tenderCompany5;
    }

    public String getTenderCompany6() {
        return tenderCompany6;
    }

    public void setTenderCompany6(String tenderCompany6) {
        this.tenderCompany6 = tenderCompany6;
    }

    public String getSelfCompanyJoin() {
        return selfCompanyJoin;
    }

    public void setSelfCompanyJoin(String selfCompanyJoin) {
        this.selfCompanyJoin = selfCompanyJoin;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectType() {
        return projectType;
    }

    public void setProjectType(String projectType) {
        this.projectType = projectType;
    }

    public String getTenderType() {
        return tenderType;
    }

    public void setTenderType(String tenderType) {
        this.tenderType = tenderType;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getTenderWay() {
        return tenderWay;
    }

    public void setTenderWay(String tenderWay) {
        this.tenderWay = tenderWay;
    }

    public String getTenderMoneyType() {
        return tenderMoneyType;
    }

    public void setTenderMoneyType(String tenderMoneyType) {
        this.tenderMoneyType = tenderMoneyType;
    }

    public Double getTenderMoney() {
        return tenderMoney;
    }

    public void setTenderMoney(Double tenderMoney) {
        this.tenderMoney = tenderMoney;
    }

    public Double getPlanTenderMoney() {
        return planTenderMoney;
    }

    public void setPlanTenderMoney(Double planTenderMoney) {
        this.planTenderMoney = planTenderMoney;
    }

    public Double getDiscountRate() {
        return discountRate;
    }

    public void setDiscountRate(Double discountRate) {
        this.discountRate = discountRate;
    }

    public Double getWinMoney() {
        return winMoney;
    }

    public void setWinMoney(Double winMoney) {
        this.winMoney = winMoney;
    }

    public String getTenderAgency() {
        return tenderAgency;
    }

    public void setTenderAgency(String tenderAgency) {
        this.tenderAgency = tenderAgency;
    }

    public String getTenderCondition() {
        return tenderCondition;
    }

    public void setTenderCondition(String tenderCondition) {
        this.tenderCondition = tenderCondition;
    }

    public String getTenderer() {
        return tenderer;
    }

    public void setTenderer(String tenderer) {
        this.tenderer = tenderer;
    }

    public String getUnionStatus() {
        return unionStatus;
    }

    public void setUnionStatus(String unionStatus) {
        this.unionStatus = unionStatus;
    }

    public String getWinStatus() {
        return winStatus;
    }

    public void setWinStatus(String winStatus) {
        this.winStatus = winStatus;
    }

    public String getTenderInfoLink() {
        return tenderInfoLink;
    }

    public void setTenderInfoLink(String tenderInfoLink) {
        this.tenderInfoLink = tenderInfoLink;
    }

    public String getCustomerCompany() {
        return customerCompany;
    }

    public void setCustomerCompany(String customerCompany) {
        this.customerCompany = customerCompany;
    }

    public String getCustomerDepartment() {
        return customerDepartment;
    }

    public void setCustomerDepartment(String customerDepartment) {
        this.customerDepartment = customerDepartment;
    }

    public String getCustomerContacts() {
        return customerContacts;
    }

    public void setCustomerContacts(String customerContacts) {
        this.customerContacts = customerContacts;
    }

    public String getCustomerContactsAssociate() {
        return customerContactsAssociate;
    }

    public void setCustomerContactsAssociate(String customerContactsAssociate) {
        this.customerContactsAssociate = customerContactsAssociate;
    }

    public Date getTenderYear() {
        return tenderYear;
    }

    public void setTenderYear(Date tenderYear) {
        this.tenderYear = tenderYear;
    }

    public Date getTenderOpenDate() {
        return tenderOpenDate;
    }

    public void setTenderOpenDate(Date tenderOpenDate) {
        this.tenderOpenDate = tenderOpenDate;
    }
}
